Simple_History\Services\Email_Report_Service S

Total Complexity 45
Dependencies 7
Dependents 0
Total lines 674
Lines of code 428
Logical lines of code 143
Comment lines 169
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
get_summary_report_data()
A
37 9 77
prepare_top_items()
S
51 7 28
send_email_report()
S
50 4 30
rest_preview_email()
S
48 2 38
settings_field_preview()
S
49 1 42
register_settings()
S
51 1 31
schedule_email_report()
S
64 3 10
settings_field_enabled()
S
55 1 26
on_general_section_output()
S
54 1 24
settings_field_recipients()
S
57 1 23
register_rest_routes()
S
57 1 20
get_email_subject()
S
64 2 10
on_email_report_enabled_updated()
S
71 2 7
rest_preview_html()
S
62 1 12
sanitize_email_recipients()
S
63 1 11
loaded()
S
65 1 8
rest_permission_callback()
S
80 1 3
settings_section_output_last()
S
78 1 3
settings_section_output()
S
72 1 7
settings_field_pro_tip()
S
69 1 9
is_email_reports_enabled()
S
79 1 3
get_email_report_recipients()
S
79 1 3
unschedule_email_report()
S
81 1 3